Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OG title and description to course about pages #2436

Merged
merged 1 commit into from
Feb 3, 2014

Conversation

caesar2164
Copy link
Contributor

@singingwolfboy & @adampalay - super quick PR to add OG titles and descriptions to about pages so Facebook and other social media get good content for sharing posts.

@adampalay
Copy link
Contributor

@@ -26,6 +26,9 @@
%>

<%include file="${google_analytics_file}" />

<meta property="og:title" content="${get_course_about_section(course, 'title')}" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment above these properties that explain these are open graph tags. May be worth additionally linking to https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content

@sarina
Copy link
Contributor

sarina commented Feb 3, 2014

👍 once this code is self-documenting. I'm worried about other developers, unaware of what the heck og:title means, deleting this code.

@caesar2164
Copy link
Contributor Author

@sarina - updated with comment and link.

caesar2164 added a commit that referenced this pull request Feb 3, 2014
Add OG title and description to course about pages
@caesar2164 caesar2164 merged commit 5a722b9 into master Feb 3, 2014
@caesar2164 caesar2164 deleted the giulio/add-og-info-about-pages branch February 3, 2014 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants